<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-uid" class="form-control" name="row[uid]" type="text" value="{$row.uid|htmlentities}">-->
    <!--    </div>-->
    <!--</div>-->
  <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-type" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" disabled {in name="key" value="$row.type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" class="form-control" disabled name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Umobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-umobile" class="form-control" disabled name="row[umobile]" type="text" value="{$row.umobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" class="form-control" disabled name="row[order_sn]" type="text" value="{$row.order_sn|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Aid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-aid" class="form-control" disabled name="row[aid]" type="text" value="{$row.aid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Eusername')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-eusername" class="form-control" disabled name="row[eusername]" type="text" value="{$row.eusername|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Emobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-emobile" class="form-control" disabled name="row[emobile]" type="text" value="{$row.emobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_title" class="form-control" disabled name="row[e_title]" type="text" value="{$row.e_title|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_desc" class="form-control" disabled name="row[e_desc]" type="text" value="{$row.e_desc|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('E_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-e_content" class="form-control" disabled name="row[e_content]" type="text" value="{$row.e_content|htmlentities}">
        </div>
    </div>
    
    
 <div class="form-group" >
        <label class="control-label col-xs-12 col-sm-2">举报的凭证:</label>
        <div class="col-xs-12 col-sm-8">
          
            <ul class="row list-inline faupload-preview" id="p-images" data-listidx="0">
            
            <?php
          
            if(strlen($row["images"]) > 0){
            $imgdata = explode(",",$row["images"]);
      
            
            foreach($imgdata as $k=>$v){ ?>
            
            <li class="col-xs-3"><a href="{$v}" data-url="{$v}" target="_blank" class="thumbnail"><img src="{$v}" onerror="this.src='/qOpKowMNSk.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive"></a>
            
            <?php } }?>
        
            
            </li></ul>
        </div>
    </div>
    
    
    
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:$row.create_time?datetime($row.create_time):''}">
        </div>
    </div>
    
    <?php if($row["status"] == "待处理"){ ?>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
            <div class="col-xs-12 col-sm-8">
                
                <div class="radio">
                {foreach name="statusList" item="vo"}
                <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
                {/foreach}
                </div>
    
            </div>
        </div>
        
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Err_cnt')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" class="form-control" name="row[err_cnt]" type="text" value="{$row.err_cnt|htmlentities}">
            </div>
        </div>
    <?php }else{ ?>
        <label class="control-label col-xs-12 col-sm-2">{:__('Err_cnt')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" disabled class="form-control" name="row[status]" type="text" value="{$row.status|htmlentities}">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Err_cnt')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-err_cnt" class="form-control" disabled name="row[err_cnt]" type="text" value="{$row.err_cnt|htmlentities}">
            </div>
        </div>
    
    <?php } ?>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
